package com.gadgets.busi.bm01.controller;

import com.gadgets.busi.bm01.dto.ImgCopyRestDTO;
import com.gadgets.framework.common.dto.HttpBaseResp;
import com.gadgets.framework.common.exception.GadgetsServiceException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2022-02-15
 */
public interface IImgCoptController {

    /**
     * 图片拷贝
     * @param request                   网络请求
     * @param response                  网络应答
     * @param imgCopyRestDTO            图片拷贝请求信息
     * @return                          统一应答结果
     * @throws GadgetsServiceException  异常信息
     */
    public HttpBaseResp copyImg(HttpServletRequest request, HttpServletResponse response, ImgCopyRestDTO imgCopyRestDTO) throws GadgetsServiceException;

}
